
<!-- link引入 -->
{include file="common::link"}
{include file="common::pagestyle"}
<body>
<div class="x-body">

    <button class="layui-btn layuiadmin-btn-useradmin" onclick="day()" style="margin:10px 0px;margin-left: 10px">日统计</button>
    <button class="layui-btn layuiadmin-btn-useradmin" onclick="week()" style="margin:10px 0px">周统计</button>
    <button class="layui-btn layuiadmin-btn-useradmin" onclick="month()" style="margin:10px 0px">月统计</button>
    <button class="layui-btn layuiadmin-btn-useradmin" onclick="year()" style="margin:10px 0px">年统计</button>


  <table class="layui-table">
    <thead>
    <tr>
      <th style="text-align: center;">类别</th>
      <th style="text-align: center;">名称</th>
      <th style="text-align: center;">纳税人识别号</th>
      <th style="text-align: center;">地址</th>
      <th style="text-align: center;">电话</th>
      <th style="text-align: center;">开户银行</th>
      <th style="text-align: center;">银行账号</th>
    </thead>
      <tbody>
      <tr>
          <td style="text-align: center;">支出</td>
          <td style="text-align: center;">上海备远信息科技有限公司</td>
          <td style="text-align: center;">91310113324415392H</td>
          <td style="text-align: center;">上海市宝山区杨鑫路98弄4号202室</td>
          <td style="text-align: center;">15002128137</td>
          <td style="text-align: center;">中国建设银行杨浦支行中原路支行</td>
          <td style="text-align: center;">31001541000050007930</td>
      </tr>
      </tbody>
  </table>


</div>

<!-- js引入 -->
{include file="common::script"}

<script>
  layui.use(['layer'], function () {
    layer = layui.layer;
    $ = layui.jquery;
  });

  /*日统计*/
  function day() {
    layer.open({
      maxmin: true,
      title: '日统计',
      shade: [0.8, '#393D49'],
      area: ['600px', '750px'],
      type: 2,
      content: 'day',
    });
  }

  /*周统计*/
  function week() {
      layer.open({
          maxmin: true,
          title: '周统计',
          shade: [0.8, '#393D49'],
          area: ['600px', '750px'],
          type: 2,
          content: 'week',
      });
  }

  /*月统计*/
  function month() {
      layer.open({
          maxmin: true,
          title: '月统计',
          shade: [0.8, '#393D49'],
          area: ['600px', '750px'],
          type: 2,
          content: 'month',
      });
  }

  /*年统计*/
  function year() {
      layer.open({
          maxmin: true,
          title: '年统计',
          shade: [0.8, '#393D49'],
          area: ['600px', '750px'],
          type: 2,
          content: 'year',
      });
  }



</script>
</body>
